package com.jsjosem.aftersales.data.response;

import java.util.List;

public class EventResponse {

    private Integer id;

    /**
     * 事件编号
     */
    private String event_number;

    /**
     * 事件状态
     */
    private String status_text;

    /**
     * 事件状态
     */
    private String status;

    /**
     * 是否未读，true: 是，false：否
     */
    private Boolean is_unread;

    /**
     * 客户信息
     */
    private CustomerResponse customer;

    /**
     * 修改时间
     */
    private String updated_at;

    /**
     * 联系人电话
     */
    private String contact_telephone;

    /**
     * 联系人
     */
    private String contact_name;

    /**
     * 地址
     */
    private String address;

    /**
     * 日志记录
     */
    private List<LogResponse> logs;

    /**
     * 来源
     */
    private String created_type_text;

    /**
     * 事件类型
     */
    private String type_text;

    /**
     * 产品/设备
     */
    private ProductResponse product;

    /**
     * 故障描述
     */
    private String description;

    /**
     * 图片
     */
    private List<ImgResponse> images;

    /**
     * 创建人
     */
    private CreatorResponse creator;

    private EventReceiptResponse receipt;

    private String customer_id;

    private String customer_name;

    private String customer_user_id;

    private String type;

    private String create_time;

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCustomer_id() {
        return customer_id;
    }

    public void setCustomer_id(String customer_id) {
        this.customer_id = customer_id;
    }

    public String getCustomer_name() {
        return customer_name;
    }

    public void setCustomer_name(String customer_name) {
        this.customer_name = customer_name;
    }

    public String getCustomer_user_id() {
        return customer_user_id;
    }

    public void setCustomer_user_id(String customer_user_id) {
        this.customer_user_id = customer_user_id;
    }

    public EventResponse() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContact_name() {
        return contact_name;
    }

    public void setContact_name(String contact_name) {
        this.contact_name = contact_name;
    }

    public String getEvent_number() {
        return event_number;
    }

    public void setEvent_number(String event_number) {
        this.event_number = event_number;
    }

    public String getStatus_text() {
        return status_text;
    }

    public void setStatus_text(String status_text) {
        this.status_text = status_text;
    }

    public CustomerResponse getCustomer() {
        return customer;
    }

    public Boolean getIs_unread() {
        return is_unread != null && is_unread;
    }

    public void setIs_unread(Boolean is_unread) {
        this.is_unread = is_unread;
    }

    public void setCustomer(CustomerResponse customer) {
        this.customer = customer;
    }

    public String getUpdated_at() {
        return updated_at;
    }

    public void setUpdated_at(String updated_at) {
        this.updated_at = updated_at;
    }

    public String getContact_telephone() {
        return contact_telephone;
    }

    public void setContact_telephone(String contact_telephone) {
        this.contact_telephone = contact_telephone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public List<LogResponse> getLogs() {
        return logs;
    }

    public void setLogs(List<LogResponse> logs) {
        this.logs = logs;
    }

    public String getCreated_type_text() {
        return created_type_text;
    }

    public void setCreated_type_text(String created_type_text) {
        this.created_type_text = created_type_text;
    }

    public String getType_text() {
        return type_text;
    }

    public void setType_text(String type_text) {
        this.type_text = type_text;
    }

    public ProductResponse getProduct() {
        return product;
    }

    public void setProduct(ProductResponse product) {
        this.product = product;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public List<ImgResponse> getImages() {
        return images;
    }

    public void setImages(List<ImgResponse> images) {
        this.images = images;
    }

    public CreatorResponse getCreator() {
        return creator;
    }

    public void setCreator(CreatorResponse creator) {
        this.creator = creator;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public EventReceiptResponse getReceipt() {
        return receipt;
    }

    public void setReceipt(EventReceiptResponse receipt) {
        this.receipt = receipt;
    }
}
